Browse Source

added PostConfirmation plugin

vbracco 16 years ago
parent
commit
0cf05f7660
2 changed files with 5 additions and 2 deletions
  1. 3 1
      admin/index.php
  2. 2 1
      admin/themes/admin/index.htm

+ 3 - 1
admin/index.php View File

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

+ 2 - 1
admin/themes/admin/index.htm View File

38
 			@import "{conf.urlGelato}/admin/css/style.css";
38
 			@import "{conf.urlGelato}/admin/css/style.css";
39
 			@import "{conf.urlGelato}/admin/css/lightbox.css";
39
 			@import "{conf.urlGelato}/admin/css/lightbox.css";
40
 		</style>
40
 		</style>
41
+		{admin_includes}
41
 	</head>
42
 	</head>
42
 
43
 
43
 	<body>
44
 	<body>
89
 									</span>
90
 									</span>
90
 								</p>
91
 								</p>
91
 							<p>
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
 							</p>
94
 							</p>
94
 						</fieldset>
95
 						</fieldset>
95
 					</form>
96
 					</form>