Bläddra i källkod

added PostConfirmation plugin

vbracco 15 år sedan
förälder
incheckning
0cf05f7660
2 ändrade filer med 5 tillägg och 2 borttagningar
  1. 3 1
      admin/index.php
  2. 2 1
      admin/themes/admin/index.htm

+ 3 - 1
admin/index.php Visa fil

@@ -102,7 +102,9 @@ if ($user->isAuthenticated()) {
102 102
                 if ($isEdition) {
103 103
                         $post = $tumble->getPost($postId);
104 104
                 }
105
-
105
+				$admin_includes = "";
106
+				$trigger->call('admin_includes');
107
+                $theme->set('admin_includes',$admin_includes);
106 108
                 $theme->set('version',version());
107 109
                 $theme->set('conf', array(
108 110
                         'urlGelato'=>$conf->urlGelato,

+ 2 - 1
admin/themes/admin/index.htm Visa fil

@@ -38,6 +38,7 @@
38 38
 			@import "{conf.urlGelato}/admin/css/style.css";
39 39
 			@import "{conf.urlGelato}/admin/css/lightbox.css";
40 40
 		</style>
41
+		{admin_includes}
41 42
 	</head>
42 43
 
43 44
 	<body>
@@ -89,7 +90,7 @@
89 90
 									</span>
90 91
 								</p>
91 92
 							<p>
92
-								<input class="btn" type="submit" name="btnAdd" value="{if {$isEdition}}Modify{else}Create{/if} post" />
93
+								<input class="btn" type="submit" id="publish" name="btnAdd" value="{if {$isEdition}}Modify{else}Create{/if} post" />
93 94
 							</p>
94 95
 						</fieldset>
95 96
 					</form>